package com.example.order.dao;

import com.example.order.entity.OdersEntity;
import com.example.order.entity.WareEntity;
import com.example.vo.WareVio;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WareDAO {
    public List<WareEntity> getWares();

    WareEntity getWare(@Param("wareid") Long wareId);

    int deductWare(WareVio wareVio);
}
